    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        <html xmlns="http://www.w3.org/1999/xhtml">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>检验项维护</title>
       <link href="/assets/styles/default.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" type="text/css" href="/assets/styles/themes/icon.css" />
        <link rel="stylesheet" type="text/css" href="/assets/styles/themes/default/easyui.css" />
		<link href="/components/zykt_nj/menu_nj/TestStandardManage/DD_TestItem_AddAndEdit.css" type="text/css" rel="stylesheet">
        <link rel="stylesheet" href="../../assets/scripts/kindeditor/themes/default/default.css" />

        <script type="text/javascript" src="/assets/scripts/jquery-2.1.1.min.js"></script>
        <script type="text/javascript" src="/assets/scripts/jquery.easyui.min2.js"></script>
        <script type="text/javascript" src="/assets/scripts/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" charset="utf-8" src="../../assets/scripts/kindeditor/kindeditor-all-min.js"></script>
        <script type="text/javascript" charset="utf-8" src="../../assets/scripts/kindeditor/lang/zh-CN.js"></script>
        <script type="text/javascript" src="/components/zykt_nj/menu_nj/TestStandardManage/loadCookie.js"></script>
        <script type="text/javascript" src="/components/zykt_nj/menu_nj/TestStandardManage/DD_TestItem_AddAndEdit.js"></script>
 
  </head>
  
<body style="background:#fff" >
    <div class="easyui-layout" style="height:880px;">
    
<!-- center 存放内容-->
     <div data-options="region:'center',border:false" >
        <div style="width:1200px; margin: 0 auto;font-size:14px; font-family: Tahoma,Verdana,微软雅黑,新宋体;">
     
		<div>
			<div id="itemMessage" >
				<form id="itemForm"  method="post"> <!-- action="../../api/insertTestItem" -->
					<table id="itemMessagetb" class="bordered"  width="1200px">
						<tr style="display: none">
							<th>ItemID</th>
							<td><input id="item_id" name="item_id" class="easyui-textbox"></td>
							<th>template_name</th>
							<td><input id="template_name" name="template_name" class="easyui-textbox"></td>
							<th>isrt_emp_id</th>
							<td><input id="isrt_emp_id" name="isrt_emp_id" class="easyui-textbox" data-options="readonly:true"></td>
							<th>update_emp_id</th>
							<td><input id="update_emp_id" name="update_emp_id" class="easyui-textbox" data-options="readonly:true"></td>
						</tr>
						<tr>
							<th>测试项目名称</th>
							<td><input id="item_name" name="item_name" class="easyui-textbox" ></td>
							<th>判定依据</th>
							<td>
								<select id="judgingBasis" name="judgingBasis" class="easyui-combobox" data-options="editable:'false'">
									<option>合格（P）</option>
									<option>不合格（F）</option>
									<option>未检测(---)</option>
								</select>
							</td>
						</tr>
						<tr>
							<th>标准</th>
							<td><input id="template_id" name="template_id" class="easyui-combobox" method="get" 
								data-options="valueField:'template_id',textField:'template_name',url:'../../api/getAllTestStandard' ,
								onSelect: function(){
									$('#template_name').textbox('setValue',$('#template_id').combobox('getText'));
									$('#template_name').textbox('setText',$('#template_id').combobox('getText'));
								}
								" style="width:180px"></td>
							<th>关联设备</th>
							<td><input id="tool" name="tool" class="easyui-combobox" method="get" data-options="valueField:'id',textField:'name',url:'../../api/getAllEquTrackRecordData'" ></td>
						</tr>
						<tr>
							<th>收费标准</th>
							<td><input id="cost" name="cost" class="easyui-textbox" data-options="prompt:'请输入……'"></td>
							<th>附加费用</th>
							<td><input id="additionalCharge" name="additionalCharge" class="easyui-textbox" data-options="prompt:'请输入……'"></td>
						</tr>
						<tr>
							<th>费用单位</th>
							<td><!-- <input id="chargeUnit" name="chargeUnit" class="easyui-textbox" data-options="prompt:'请输入……'"> -->
								<select id="chargeUnit" name="chargeUnit" class="easyui-combobox" data-options="editable:'false'">
									<option selected>元/台次</option>
									<option>元/天</option>
								</select>
							</td>
							
						</tr>
						<tr>
							<th>测试要求</th>
							<td colspan="3">
								<textarea id="remark" name="remark" style="width:1100px;height:200px;visibility:hidden;"></textarea>
								<!-- <input id="remark" name="remark" class="easyui-textbox" data-options="prompt:'请输入……',multiline:true" style="width:800px;height:60px"> -->
							</td>
						</tr>
						<tr>
							<th>备注</th>
							<td colspan="3"><input id="remarks" name="remarks" class="easyui-textbox" data-options="prompt:'请输入……'" style="width:800px"></td>
						</tr>
						<tr>
							<th>添加人</th>
							<td>
								<input id="isrt_emp_name" name="isrt_emp_name" class="easyui-textbox" data-options="readonly:true">
							</td>
							<th>添加时间</th>
							<td><input id="isrt_date" name="isrt_date" class="easyui-textbox" data-options="readonly:true"></td>
						</tr>
						<tr>
							<th>修改人</th>
							<td>
								<input id="update_emp_name" name="update_emp_name" class="easyui-textbox" data-options="readonly:true">
							</td>
							<th>修改时间</th>
							<td><input id="update_date" name="update_date" class="easyui-textbox" data-options="readonly:true"></td>
						</tr>
					</table>
					<center>
						<div style="height:10px"></div>
						<!-- <input id="saveButton" class="easyui-linkbutton" style="height:30px;width:100px"  type="submit" value="保存"/>  -->
						<input id="saveButton" name="saveButton" class="easyui-linkbutton" style="height:27px;width:62px;background-image: url(/assets/images/btn_icon/1.png);"/> 

						<input id="backButton" name="backButton" class="easyui-linkbutton" style="height:27px;width:62px;background-image: url(/assets/images/btn_icon/6.png);" onclick="javascript :history.back(-1);"/>
					</center>
				</form>
			</div>

			<div style="height:10px"></div>

	        <div align="center">
	            <table id="dg"> </table>
	        </div>       
        </div>

        <div></div>

          <!-- center 存放内容-->
       </div>
     </div>
<!-- footer -->
   
</div>
</body>
</html>
